<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<BizWeb.Models.Site_Post>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Details</h2>

    <fieldset>
        <legend>Fields</legend>
        <p>
            PostID:
            <%= Html.Encode(Model.PostID) %>
        </p>
        <p>
            UserId:
            <%= Html.Encode(Model.UserId) %>
        </p>
        <p>
            Slug:
            <%= Html.Encode(Model.Slug) %>
        </p>
        <p>
            Title:
            <%= Html.Encode(Model.Title) %>
        </p>
        <p>
            PlainContent:
            <%= Html.Encode(Model.PlainContent) %>
        </p>
        <p>
            RichContent:
            <%= Html.Encode(Model.RichContent) %>
        </p>
        <p>
            DateCreated:
            <%= Html.Encode(String.Format("{0:g}", Model.DateCreated)) %>
        </p>
        <p>
            DatePublished:
            <%= Html.Encode(String.Format("{0:g}", Model.DatePublished)) %>
        </p>
        <p>
            IsPublished:
            <%= Html.Encode(Model.IsPublished) %>
        </p>
        <p>
            DateUpdated:
            <%= Html.Encode(String.Format("{0:g}", Model.DateUpdated)) %>
        </p>
        <p>
            FriendlyAuthor:
            <%= Html.Encode(Model.FriendlyAuthor) %>
        </p>
    </fieldset>
    <p>

        <%=Html.ActionLink("Edit", "Edit", new { id=Model.PostID }) %> |
        <%=Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>